import createAxios from '/@/utils/axios'

export const indexUrl = '/admin/v1/order/'
export const distributionUrl = '/admin/v1/distribution/'

export function info(params:any) {
    return createAxios({
        url: indexUrl + 'info',
        method: 'get',
        params:params
    })
}


export function orderDetail(id: string) {
    return createAxios({
        url: indexUrl + 'detail',
        method: 'get',
        params: {
            id: id,
        },
    })
}



export function auditDetail(id: string) {
    return createAxios({
        url: distributionUrl + 'audit-detail',
        method: 'get',
        params: {
            id: id,
        },
    })
}